#!/bin/bash

ATK_DIR="/data/daily/gmm-atk-samples"     # 默认/data/daily/gmm-atk-samples

# 使能conda环境
source /data/miniconda3/etc/profile.d/conda.sh
conda activate gmm

rm -rf /data/daily/*.log

source /data/daily/ascend-toolkit/set_env.sh
if [ -d "$ATK_DIR" ]; then
    rm -rf $ATK_DIR
fi
git clone https://gitee.com/yangyidiao/gmm-atk-samples.git $ATK_DIR

cd $ATK_DIR
bash $ATK_DIR/run_atk.sh -m daily -r custom
